package com.intellagric.service.iftmonitor.ift_ctrl_equipment;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.iftmonitor.CtrlEquipmentVo;
import com.intellagric.pojo.IftCtrlEquipment;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/21
 * @DESC： 控制设备服务接口
 */
public interface CtrlEquipmentService {

    //增加控制设备
    ResponseMessage addCtrlEquipment(IftCtrlEquipment ctrlEquipment);

    //删除控制设备
    ResponseMessage deleteCtrlEquipment(String id);

    //修改控制设备
    ResponseMessage editCtrlEquipment(IftCtrlEquipment ctrlEquipment);

    //查询控制设备
    IftCtrlEquipment getCtrlEquipmentById(String id);
    LayuiDataGridResult getCtrlEquipmentList();
    LayuiDataGridResult getCtrlEquipmentListByVo(CtrlEquipmentVo ctrlEquipmentVo);
    LayuiDataGridResult getCtrlEquipmentPage(int page, int rows);

}
